Integrand size = 24, antiderivative size = 151 \[ \int \frac {x^2 \text {arccosh}(a x)^2}{\sqrt {1-a^2 x^2}} \, dx=-\frac {x \sqrt {1-a x} \sqrt {1+a x}}{4 a^2}+\frac {\sqrt {-1+a x} \text {arccosh}(a x)}{4 a^3 \sqrt {1-a x}}-\frac {x^2 \sqrt {-1+a x} \text {arccosh}(a x)}{2 a \sqrt {1-a x}}-\frac {x \sqrt {1-a^2 x^2} \text {arccosh}(a x)^2}{2 a^2}+\frac {\sqrt {-1+a x} \text {arccosh}(a x)^3}{6 a^3 \sqrt {1-a x}} \]
[Out]
Time = 0.11 (sec) , antiderivative size = 151, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.208, Rules used = {5938, 5892, 5883, 92, 54} \[ \int \frac {x^2 \text {arccosh}(a x)^2}{\sqrt {1-a^2 x^2}} \, dx=\frac {\sqrt {a x-1} \text {arccosh}(a x)^3}{6 a^3 \sqrt {1-a x}}+\frac {\sqrt {a x-1} \text {arccosh}(a x)}{4 a^3 \sqrt {1-a x}}-\frac {x \sqrt {1-a^2 x^2} \text {arccosh}(a x)^2}{2 a^2}-\frac {x \sqrt {1-a x} \sqrt {a x+1}}{4 a^2}-\frac {x^2 \sqrt {a x-1} \text {arccosh}(a x)}{2 a \sqrt {1-a x}} \]
[In]
[Out]
Rule 54
Rule 92
Rule 5883
Rule 5892
Rule 5938
Rubi steps \begin{align*} \text {integral}& = -\frac {x \sqrt {1-a^2 x^2} \text {arccosh}(a x)^2}{2 a^2}+\frac {\int \frac {\text {arccosh}(a x)^2}{\sqrt {1-a^2 x^2}} \, dx}{2 a^2}-\frac {\sqrt {-1+a x} \int x \text {arccosh}(a x) \, dx}{a \sqrt {1-a x}} \\ & = -\frac {x^2 \sqrt {-1+a x} \text {arccosh}(a x)}{2 a \sqrt {1-a x}}-\frac {x \sqrt {1-a^2 x^2} \text {arccosh}(a x)^2}{2 a^2}+\frac {\sqrt {-1+a x} \text {arccosh}(a x)^3}{6 a^3 \sqrt {1-a x}}+\frac {\sqrt {-1+a x} \int \frac {x^2}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx}{2 \sqrt {1-a x}} \\ & = -\frac {x \sqrt {1-a x} \sqrt {1+a x}}{4 a^2}-\frac {x^2 \sqrt {-1+a x} \text {arccosh}(a x)}{2 a \sqrt {1-a x}}-\frac {x \sqrt {1-a^2 x^2} \text {arccosh}(a x)^2}{2 a^2}+\frac {\sqrt {-1+a x} \text {arccosh}(a x)^3}{6 a^3 \sqrt {1-a x}}+\frac {\sqrt {-1+a x} \int \frac {1}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx}{4 a^2 \sqrt {1-a x}} \\ & = -\frac {x \sqrt {1-a x} \sqrt {1+a x}}{4 a^2}+\frac {\sqrt {-1+a x} \text {arccosh}(a x)}{4 a^3 \sqrt {1-a x}}-\frac {x^2 \sqrt {-1+a x} \text {arccosh}(a x)}{2 a \sqrt {1-a x}}-\frac {x \sqrt {1-a^2 x^2} \text {arccosh}(a x)^2}{2 a^2}+\frac {\sqrt {-1+a x} \text {arccosh}(a x)^3}{6 a^3 \sqrt {1-a x}} \\ \end{align*}
Time = 0.17 (sec) , antiderivative size = 87, normalized size of antiderivative = 0.58 \[ \int \frac {x^2 \text {arccosh}(a x)^2}{\sqrt {1-a^2 x^2}} \, dx=-\frac {\sqrt {-((-1+a x) (1+a x))} \left (4 \text {arccosh}(a x)^3-6 \text {arccosh}(a x) \cosh (2 \text {arccosh}(a x))+\left (3+6 \text {arccosh}(a x)^2\right ) \sinh (2 \text {arccosh}(a x))\right )}{24 a^3 \sqrt {\frac {-1+a x}{1+a x}} (1+a x)} \]
[In]
[Out]
Time = 0.62 (sec) , antiderivative size = 239, normalized size of antiderivative = 1.58
method | result | size |
default | \(-\frac {\sqrt {-a^{2} x^{2}+1}\, \sqrt {a x -1}\, \sqrt {a x +1}\, \operatorname {arccosh}\left (a x \right )^{3}}{6 a^{3} \left (a^{2} x^{2}-1\right )}-\frac {\sqrt {-a^{2} x^{2}+1}\, \left (2 a^{3} x^{3}-2 a x +2 a^{2} x^{2} \sqrt {a x -1}\, \sqrt {a x +1}-\sqrt {a x -1}\, \sqrt {a x +1}\right ) \left (2 \operatorname {arccosh}\left (a x \right )^{2}-2 \,\operatorname {arccosh}\left (a x \right )+1\right )}{16 a^{3} \left (a^{2} x^{2}-1\right )}-\frac {\sqrt {-a^{2} x^{2}+1}\, \left (2 a^{3} x^{3}-2 a x -2 a^{2} x^{2} \sqrt {a x -1}\, \sqrt {a x +1}+\sqrt {a x -1}\, \sqrt {a x +1}\right ) \left (2 \operatorname {arccosh}\left (a x \right )^{2}+2 \,\operatorname {arccosh}\left (a x \right )+1\right )}{16 a^{3} \left (a^{2} x^{2}-1\right )}\) | \(239\) |
[In]
[Out]
\[ \int \frac {x^2 \text {arccosh}(a x)^2}{\sqrt {1-a^2 x^2}} \, dx=\int { \frac {x^{2} \operatorname {arcosh}\left (a x\right )^{2}}{\sqrt {-a^{2} x^{2} + 1}} \,d x } \]
[In]
[Out]
\[ \int \frac {x^2 \text {arccosh}(a x)^2}{\sqrt {1-a^2 x^2}} \, dx=\int \frac {x^{2} \operatorname {acosh}^{2}{\left (a x \right )}}{\sqrt {- \left (a x - 1\right ) \left (a x + 1\right )}}\, dx \]
[In]
[Out]
Exception generated. \[ \int \frac {x^2 \text {arccosh}(a x)^2}{\sqrt {1-a^2 x^2}} \, dx=\text {Exception raised: RuntimeError} \]
[In]
[Out]
\[ \int \frac {x^2 \text {arccosh}(a x)^2}{\sqrt {1-a^2 x^2}} \, dx=\int { \frac {x^{2} \operatorname {arcosh}\left (a x\right )^{2}}{\sqrt {-a^{2} x^{2} + 1}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {x^2 \text {arccosh}(a x)^2}{\sqrt {1-a^2 x^2}} \, dx=\int \frac {x^2\,{\mathrm {acosh}\left (a\,x\right )}^2}{\sqrt {1-a^2\,x^2}} \,d x \]
[In]
[Out]